import ProxyInterface from '../proxy-interface';
import {SharePageModel} from '@pkpm/pkpm-types';

class SharePageProxy implements ProxyInterface<SharePageModel> {
    private sharePage: SharePageModel = new SharePageModel();

    constructor(responseData) {
        let data = responseData;
        Object.assign<SharePageModel, any>(this.sharePage, data);
    }

    getModel(): SharePageModel {
        return this.sharePage;
    }
}

export {SharePageProxy};
